package github.kawaiior.botapiserver.entity;

import com.baomidou.mybatisplus.annotation.TableField;

public class Keyword {
    private int id;
    @TableField(value = "bot_id")
    private String botId;
    @TableField(value = "keyword")
    private String word;

    public Keyword(int id, String botId, String word) {
        this.id = id;
        this.botId = botId;
        this.word = word;
    }

    public Keyword(String botId, String word) {
        this.botId = botId;
        this.word = word;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBotId() {
        return botId;
    }

    public void setBotId(String botId) {
        this.botId = botId;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }
}
